/******************************************************************************
** @file	ProcessTest.cpp
** @author  Arturo Aguilar Tapia
**
** @date	Agoost 20, 2010
**
** @desc	This test lists the processes that estan running in the operating
**			system.
*			
**
******************************************************************************/

#include "../Unit--/unit--.h"
#include "wmi_reader.h"
#include "WMI_Registry.h"
#include "WMI_Result.h"
#include "WMI_FileDirectory.h"

using namespace unit_minus;

testSuite(WMIReaderSuite);

testCase(WProcessTest1, WMIReaderSuite)
{
    cout << "---------- Start Process Test ----------" << endl;

	WMI_Result<WMI_Process> proc;	
	WMI_Reader::getProccesses(proc);

	assertTrue(proc.getObjects().size() != 0);

    cout << "---------- End Process Test ----------" << endl << endl;
    system("PAUSE");
}